package com.example.novelspringbootmysql.mapper;

import com.example.novelspringbootmysql.entity.User;
import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    User selectByPrimaryKey(Long id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    User findByUsername(String username);

    String selectByMaxId();


}